Release 10.1A: OpenEdge Development:
Progress 4GL Reference
CONNECTED function
Tells whether a database is connected. If
logical nameis the logical name oraliasis the alias of a connected database, the CONNECTED function returns TRUE; otherwise, it returns FALSE.Syntax
logical-nameRefers to a logical name. It can be a quoted string or a character expression. An unquoted character string is not allowed.
aliasRefers to an alias. It can be a quoted string or a character expression. An unquoted character string is not allowed.
ExampleThis procedure runs
r-dispcu.pif a database with the logical name sports is connected:
See also
ALIAS function, CONNECT statement, CREATE ALIAS statement,CREATE CALL statement, DATASERVERS function, DBCODEPAGE function, DBCOLLATION function, DBRESTRICTIONS function, DBTYPE function, DBVERSION function, DELETE ALIAS statement, DISCONNECT statement, FRAME-DB function, LDBNAME function, NUM-DBS function, PDBNAME function, SDBNAME function
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |